package com.yt.agent.Yuserinfo.ui;

import java.sql.ResultSet;
import java.sql.SQLException;

public   class  YuserinfoRowMapper implements org.springframework.jdbc.core.RowMapper {

 
    public Object mapRow(ResultSet rs, int arg1) throws SQLException  {
        Yuserinfo model=new Yuserinfo();
        model.setMemo(rs.getString("memo")) ;
        model.setMemo2(rs.getString("memo2")) ;
        model.setMemo3(rs.getString("memo3")) ;
        model.setMemo4(rs.getString("memo4")) ;
        model.setMemo5(rs.getString("memo5")) ;
        model.setMemo6(rs.getString("memo6")) ;
        model.setUlastcalll(rs.getString("ulastcalll")) ;
        model.setUlastcallout(rs.getString("ulastcallout")) ;
        model.setUname(rs.getString("uname")) ;
        model.setUserialno(rs.getInt("userialno")) ;
        model.setUtel(rs.getString("utel")) ;
        model.setUtype(rs.getString("utype")) ;
        model.setUunit(rs.getString("uunit")) ;
        model.setYfax(rs.getString("yfax")) ;
        return model;
    }
}
